conduct (oneself) meritoriously

Translations
вести себя заслуженно
The student conducted himself meritoriously during the challenging situation.
Студент вел себя заслуженно в сложной ситуации.